<template>
  <div id="app">
    <v-header></v-header>
    <router-view></router-view>
  </div>
</template>
<script type="text/ecmascript-6">
  import vHeader from './components/header/header.vue'
  import {getCookie} from '@/utils/util'
  export default {
    components: {
      vHeader
    },
    created() {
      let token = (unescape(getCookie('token'))).refresh_token
      this.$ajax.get(`/login/refresh?csrf_token=${refresh_token}`).then((response) => {
        console.log(response)
     })
    }
  }
</script>
<style>

</style>
